package cn.lngaosu.lwyd.module.integration.job;

import cn.lngaosu.lwyd.framework.quartz.core.handler.JobHandler;
import cn.lngaosu.lwyd.framework.tenant.core.job.TenantJob;
import cn.lngaosu.lwyd.module.integration.service.weibouserscounts.WeiboUserscountsService;
import cn.lngaosu.lwyd.module.integration.service.weixinarticleanalysis.WeixinArticleAnalysisService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class WeiboUserscountsJob implements JobHandler {

    @Resource
    private WeiboUserscountsService weiboUserscountsService;

    @Override
    @TenantJob
    public String execute(String param) {
        weiboUserscountsService.syncWeiboUserscounts();
        return "每日同步微博用户基本信息数据";
    }

}
